package com.fare.taluo.core.domain.freightprice;

import org.apache.hadoop.hbase.KeyValue;

public abstract class AbstractFreightFlightEntity {
	/**
	 * 获得rowkey
	 * @return
	 */
	public abstract String getRowkey();
	/**
	 * 根据查询的结果创建运价实体对象
	 * @param kv
	 * @return
	 */
	public abstract AbstractFreightFlightEntity createEntity(KeyValue kv) throws Exception;
}
